package com.tedu.jsd2407_ivos_fzj.dict.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class DictParam {
    @ApiModelProperty(value = "字典id")
    private Long id;
    @ApiModelProperty(value="字典名称")
    private String name;
    @ApiModelProperty(value="字典编码")
    private String code;
    @ApiModelProperty(value="字典说明")
    private String remark;
    @ApiModelProperty(value="创建时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//前端发送过来的时间是字符串格式，需转换为时间格式
    private Date createTime;
    @ApiModelProperty(value="更新时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
